package fun.sanguo.model.dto.record;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import fun.sanguo.model.dto.interact.InteractPersonageDislikeResult;
import fun.sanguo.model.dto.interact.InteractPersonageLikeResult;
import fun.sanguo.model.entity.record.RecordPersonageEntity;

/**
 * 内容管理-人物列表 页面查询结果
 *
 * @author ZYP
 * @date 2023-10-13
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class RecordPersonageResult {

    /**
     * 人物详情
     */
    private RecordPersonageEntity recordPersonageEntity;

    /**
     * 人物喜欢
     */
    private InteractPersonageLikeResult like;

    /**
     * 人物厌恶
     */
    private InteractPersonageDislikeResult dislike;

    public RecordPersonageResult(RecordPersonageEntity recordPersonageEntity, InteractPersonageLikeResult like, InteractPersonageDislikeResult dislike) {
        this.recordPersonageEntity = recordPersonageEntity;
        this.like = like;
        this.dislike = dislike;
    }
}
